package cn.iocoder.yudao.module.squaredancing.controller.admin.version.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 版本管理分页 Request VO")
@Data
public class VersionPageReqVO extends PageParam {

    @Schema(description = "版本编号（如：1.0.0）")
    private String versionCode;

    @Schema(description = "版本名称（如：重大更新版）", example = "赵六")
    private String versionName;

    @Schema(description = "版本文件地址", example = "https://www.iocoder.cn")
    private String downloadUrl;

    @Schema(description = "是否强制更新")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Boolean[] forceUpdate;

    @Schema(description = "版本更新说明")
    private String releaseNotes;

    @Schema(description = "发布时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] publishTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}